package com.bicon.botu.medical.model.entity

import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.AutoIdBaseEntity

/**
 * @version 1.0.0
 * @author: Gyb
 * @date 2018/7/17
 * @description
 **/
@TableName("food")
data class Food(
        /**
         * 名称
         */
        val name: String? = null,

        /**
         * 列表展示图
         */
        @TableField("item_image")
        val itemImage: String? = null,

        /**
         * 首页推荐图及详情顶部图
         */
        @TableField("top_image")
        val topImage: String? = null,

        /**
         * 规格说明
         */
        val specifications: String? = null,

        /**
         * 千卡
         */
        val kcal: Int? = null,

        /**
         * 千焦
         */
        val kj: Int? = null,

        /**
         * 介绍食物亮点
         */
        val instruction: String? = null,

        /**
         * 重量标准id
         */
        @TableField("weight_standard_id")
        val weightStandardId: Int? = null,

        /**
         * 重量标准名称
         */
        @TableField("weight_standard_name")
        val weightStandardName: String? = null
) : AutoIdBaseEntity<Food>()